home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 241_01 / infer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-08-29  |  1.4 KB  |  46 lines

  1. /*
  2. HEADER:         CUG241;
  3. TITLE:          Rule-Based Compiler for Expert System;
  4. DATE:           12/30/85;
  5. VERSION:
  6. DESCRIPTION:   "Source code for rule-based compiler for an Expert System";
  7. KEYWORDS:       Artificial Intelligence, expert systems, rule-based compiler;
  8. SYSTEM:         MS-DOS or UNIX System V;
  9. FILENAME:       ;
  10. WARNINGS:      "User-supported, non-commercial"
  11. AUTHORS:        George Hageman; 
  12. COMPILERS:      Microsoft C V3.00 or UNIX System V Portable C Compiler;
  13. REFERENCES:     ;
  14. ENDREF
  15. */
  16.  
  17. /*****************************************************************
  18. **                                **
  19. **      Inference -- (C) Copyright 1985 George Hageman    **
  20. **                                **
  21. **        user-supported software:                **
  22. **                                **
  23. **            George Hageman                **
  24. **            P.O. Box 11234                **
  25. **            Boulder, Colorado 80302            **
  26. **                                **
  27. *****************************************************************/
  28.  
  29. /*
  30. **    the following are the global common variables which
  31. **    are used in the inference engine...
  32. **
  33. **    all routines except inference.c should have this
  34. **    file included.
  35. */
  36.  
  37. #define    MAX_KNOWN    500
  38.  
  39. int    numHypot, hypStack[MAX_HYPS],strBuffOfst ;
  40. char    strBuff[MAX_STRING_BUFF] ;
  41. int    ruleBuffOfst ;
  42. int    knownTrue[MAX_KNOWN], knownFalse[MAX_KNOWN] ;
  43. int    numTrue, numFalse ;
  44. struct  rule_statement_r ruleBuff[MAX_RULE_STATEMENTS] ;
  45.  
  46.